package com.testcolision;

import com.badlogic.gdx.Game;
import com.badlogic.gdx.Gdx;
import com.testcolision.screens.ExtendedScreen;
import com.testcolision.screens.GameScreen;


public class GameStarter extends Game {
	@Override
	public void render() {
		// update the screen
		ExtendedScreen currentScreen = this.getScreen();
		currentScreen.render(Gdx.graphics.getDeltaTime());
	}

	@Override
	public ExtendedScreen getScreen () {
		return (ExtendedScreen)super.getScreen();
	}
	
	@Override
	public void create() {
		setScreen(new GameScreen());
	}
}
